/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package eu.games.esmi.ieat.indicatorrelations;

import com.vaadin.ui.TabSheet;
import com.vaadin.ui.VerticalLayout;

/**
 *
 * @author user
 */
  
public class MainIndicatorRelations extends VerticalLayout {

    TabSheet tabs = new TabSheet();
    static CorrelationDesignTab cdTab = new CorrelationDesignTab();
    static CorrelationAnalysisTab caTab = new CorrelationAnalysisTab();
    static AssociationDesignTab adTab = new AssociationDesignTab();
    static AssociationAnalysisTab aaTab = new AssociationAnalysisTab();
    static ClusteringDesignTab kdTab = new ClusteringDesignTab();
    static ClusteringAnalysisTab kaTab = new ClusteringAnalysisTab();

    
    public MainIndicatorRelations() {
        super();
        
        this.setStyleName("mainpanel");

        init();
    }
    
    public void init() {
        
        tabs.addTab(cdTab, "Correlation design", null);
        tabs.addTab(caTab, "Correlation analysis", null);
        tabs.addTab(adTab, "Association design", null);
        tabs.addTab(aaTab, "Association analysis", null);
        tabs.addTab(kdTab, "Clustering design", null);
        tabs.addTab(kaTab, "Clustering analysis", null);
        
        this.addComponent(tabs);
    }

    public static ClusteringAnalysisTab getClusteringAnalysisTab() {
        return kaTab;
    }

    public static ClusteringDesignTab getClusteringDesignTab() {
        return kdTab;
    }

    public static AssociationAnalysisTab getAssociationAnalysisTab() {
        return aaTab;
    }

    public static AssociationDesignTab getAssociationDesignTab() {
        return adTab;
    }

    public static CorrelationAnalysisTab getCorrelationAnalysisTab() {
        return caTab;
    }

    public static CorrelationDesignTab getCorrelationDesignTab() {
        return cdTab;
    }
    
    
}